package com.zm.domain;

import java.io.Serializable;

public class Account implements Serializable {
    private Integer userId;
    private  Integer userUid;
    private Integer userMoney;
    //一对一关系映射的属性
    private Usermy user;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserUid() {
        return userUid;
    }

    public void setUserUid(Integer userUid) {
        this.userUid = userUid;
    }

    public Integer getUserMoney() {
        return userMoney;
    }

    public void setUserMoney(Integer userMoney) {
        this.userMoney = userMoney;
    }

    public Usermy getUser() {
        return user;
    }

    public void setUser(Usermy user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Account{" +
                "userId=" + userId +
                ", userUid=" + userUid +
                ", userMoney=" + userMoney +
                ", user=" + user +
                '}';
    }
}
